//
// Created by lymk on 2021/8/1.
//

#ifndef GAME2D_BASEGDIHANDLER_H
#define GAME2D_BASEGDIHANDLER_H
#include "WindowsHandler.h"
class BaseGDIHandler : public WindowsHandler{
    HPEN m_hPen[7] = {nullptr};
    HBRUSH m_hBrush[7] = {nullptr};
    int m_iPenStyle[7] = {
            PS_SOLID,
            PS_DASH,
            PS_DOT,
            PS_DASHDOT,
            PS_DASHDOTDOT,
            PS_NULL,
            PS_INSIDEFRAME
    };
    int m_iBrushStyle[6] = {
            HS_VERTICAL,
            HS_HORIZONTAL,
            HS_CROSS,
            HS_DIAGCROSS,
            HS_FDIAGONAL,
            HS_BDIAGONAL
    };
public:
    virtual int Initialize() override;
    virtual void Render() override;
    virtual void Finalize() override;
    void DrawTEXT();
    void DrawPicture();
};


#endif //GAME2D_BASEGDIHANDLER_H
